import defaultHttp from "@/utils/request.js";
export const petAdd = (data) => {
  return defaultHttp({
    url: "/pet/add",
    method: "post",
    data,
  });
};

export const petEdit = (data) => {
  return defaultHttp({
    url: "/pet/edit",
    method: "post",
    data,
  });
};
export const petList = (data) => {
  return defaultHttp({
    url: "/pet/list",
    method: "post",
    data
  });
};
export const petDelete = (data) => {
  return defaultHttp({
    url: "/pet/delete",
    method: "post",
    data,
  });
};
